Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/SciCrunch-Resource-Portal/classes/term.class.php:488
Stack trace:
#0 /var/www/SciCrunch-Resource-Portal/communities/interlex.php(20): Term->getByIlx('%7B%7B%20a.term...')
#1 /var/www/SciCrunch-Resource-Portal/community-redirect.php(150): include('/var/www/SciCru...')
#2 /var/www/SciCrunch-Resource-Portal/router.php(227): include('/var/www/SciCru...')
#3 [internal function]: {closure}()
#4 /var/www/SciCrunch-Resource-Portal/lib/vendor/symfony/http-foundation/StreamedResponse.php(108): call_user_func(Object(Closure))
#5 /var/www/SciCrunch-Resource-Portal/lib/vendor/symfony/http-foundation/Response.php(384): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#6 /var/www/SciCrunch-Resource-Portal/router.php(229): Symfony\Component\HttpFoundation\Response->send()
#7 [internal function]: {closure}(Object(Symfony\Component\HttpFoundation\Request))
#8 /var/www/SciCrunch-Resource-Portal/lib/vendor/symfony/http-kernel/HttpKernel.php(153): call_user_func_array(Object(Closure), Array)
#9 /var/www/SciCrunch-Resource-Portal/lib/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#10 /var/www/SciCrunch-Resource-Portal/lib/vendor/silex/silex/src/Silex/Application.php(496): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /var/www/SciCrunch-Resource-Portal/lib/vendor/silex/silex/src/Silex/Application.php(477): Silex\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 /var/www/SciCrunch-Resource-Portal/router.php(207): Silex\Application->run()
#13 {main}
thrown in /var/www/SciCrunch-Resource-Portal/classes/term.class.php on line 488